package pojo;


public class Student {

  private String sid;
  private String sname;
  private String ssex;
  private String sphone;
  private long sage;
  public  Student(){

  }

  @Override
  public String toString() {
    return "Student{" +
            "sid='" + sid + '\'' +
            ", sname='" + sname + '\'' +
            ", ssex='" + ssex + '\'' +
            ", sphone='" + sphone + '\'' +
            ", sage=" + sage +
            '}';
  }

  public Student(String sid, String sname, String ssex, String sphone, long sage) {
    this.sid = sid;
    this.sname = sname;
    this.ssex = ssex;
    this.sphone = sphone;
    this.sage = sage;
  }
  public Student(String sphone, String sid, String sname) {
    this.sid = sid;
    this.sname = sname;
    this.sphone = sphone;
  }


  public String getSid() {
    return sid;
  }

  public void setSid(String sid) {
    this.sid = sid;
  }


  public String getSname() {
    return sname;
  }

  public void setSname(String sname) {
    this.sname = sname;
  }


  public String getSsex() {
    return ssex;
  }

  public void setSsex(String ssex) {
    this.ssex = ssex;
  }


  public String getSphone() {
    return sphone;
  }

  public void setSphone(String sphone) {
    this.sphone = sphone;
  }


  public long getSage() {
    return sage;
  }

  public void setSage(long sage) {
    this.sage = sage;
  }

}
